package pack0629;
/*（3）封装一类对象FlashMemory实现上述两类接口。*/
public class FlashMemory implements ComputerWeight,ComputerCompany{
  public double computerWeight(){
      double weigh=2.2;
      return weigh;
  }
  public void printName(){
      System.out.println("lenovo");
  }
  public double printPrice(){
     double price = 5899;
     return price;
  }

    @Override
    public String computerName() {
      String s="lenovo";
        return s;
    }
    public void
}
